dsh-auto-compact:DSH 会话级自动上下文压缩插件
`dsh-auto-compact` 是 DeepSeek Harness(DSH)的会话级自动上下文压缩插件,由 JohnathonYe 维护,采用 MIT 许可证。它旨在解决长会话中上下文压力过大的问题,通过监听会话上下文用量,在超过用户设定的独立阈值时自动执行 `compact` 压缩,并将摘要注入上下文以自然继续会话,全程无需发送“继续”消息。该插件支持 1%–90% 的阈值调节(默认 50%),按 `sessionId` 持久化设置,与 DSH 内置的 `compaction-basic`(默认 80% 阈值)并存且互不干扰。安装需满足 Node.js ≥ 20、pnpm ≥ 10
Read Moredsh-compaction-instant: An Instant Context Compression Plugin for DeepSeek Harness
dsh-compaction-instant is an instant context compression plugin for the DeepSeek Harness environment, designed to replace traditional LLM summarization with deterministic text processing. This plugin avoids model calls or network requests, eliminating additional delays and rewriting risks. By preserving the original tokens and generating seq, result, or checkpoint pointers that link to persistent logs, it achieves near-lossless compression. As a drop-in replacement for dsh-compaction-basic, it maintains the same interface and semantics, offering recall and search tools along with the /recall command to support on-demand restoration of omitted content or searching of persistent logs. This solution is ideal for developers seeking to reduce model call overhead and ensure data recoverability, requiring No
Read MoreBillion-Context-DSH: Empowering Models to Decide When to Compress Context
Billion-context-dsh provides an Active Context Pruning backend for DeepSeek Harness, where the model determines when to compress and restore context through the compress, decompress, search_context, and acp_status functions. Ported from billion-context-pi and reusing acp-kernel, it can be installed via the bundle command: dsh plugin --profile web add billion-context-dsh. Version v0.2.13 (beta) is suitable for long conversation and long task scenarios.
Read MoreUsing dsh-compaction-instant to transform the context compression of DeepSeek Harness into near-lossless compilation
`dsh-compaction-instant` is a DeepSeek Harness session plugin maintained by KitDoesIt, which replaces the built-in summary engine `compaction-basic` with a deterministic compilation method that does not rely on LLMs. This article checks against the catalog page and GitHub README, covering near-lossless checkpoints, seq readback, three installation methods, as well as the compression ratio and precautions on tool-intensive sessions.
Read MoreUse billion-context-dsh to let the model handle the context compression of DeepSeek Harness by itself
### 正式翻译: billion-context-dsh is a DSH session plugin maintained by Tyan66666, which implements Active Context Pruning as a CompactionEngine backend: the model calls `compress` to generate its own summaries, and the automatic strategy only nudges. The original text remains in the session log, and decompression and search are both supported. This article verifies the installation commands, mounting methods and differences from the built-in automatic compression according to the directory page, GitHub and npm v0.2.2.
Read More